<%= form_remote_tag :url=>{:controller=>"forum",:action=>"update_topic",:id=>@topic.id},:loading => "Element.show('topicindicator#{@topic.id}')",:complete => "Element.hide('topicindicator#{@topic.id}')",
                        :update=>"topic#{@topic.id}"%>
<h3>标题：</h3>
<%=text_field 'topic', 'title', :size=>"40" %>
<h3>内容：</h3>
<%=text_area 'topic', 'body', :style=>"width:300px;height:100px" %>
</br>
<%= submit_tag "改好了",:class=>"btn_mouseout",
													:onmouseover=>"this.className='btn_mouseover'",
 													:onmouseout=>"this.className='btn_mouseout'",
 													:onmousedown=>"this.className='btn_mousedown'",
  													:onmouseup=>"this.className='btn_mouseup'"%>
&nbsp;(<%= link_to_remote "取消", :url=>{:controller=>"forum", :action=>"hide_topic"},:update=>"mytopic" %>)
<%= end_form_tag%>
